package edu.sctu.wulixia.month4and5.day20150512.one;

/**
 * Created by user05 on 2015/5/12.
 */
public class TestTwo extends Test {
    public TestTwo(String name, String hobby, int tel){
        this.name = name;
        this.hobby = hobby;
        this.tel = tel;

    }

    @Override
    public void getName() {
        System.out.println("xignming:"+ name);
    }

    @Override
    public void getHobby() {
        System.out.println("爱好：" + hobby);
    }

    @Override
    public void getTel() {
        System.out.println("号码："+tel);
    }
}
